package com.zlict.admin.domain;

import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlict.common.annotation.Excel;
import com.zlict.common.core.domain.BaseEntity;

/**
 * 研发人员工资计算结果对象
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
public class RdSalaryResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "工号")
    private String userName;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String nickName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 月份 */
    @Excel(name = "月份")
    private String month;

    /** 研发工时 */
    @Excel(name = "研发工时")
    private Double rdWorkhours;

    /** 考勤工时 */
    @Excel(name = "考勤工时")
    private Double attendanceWorkhours;

    /** 人员工资 */
    @Excel(name = "人员工资")
    private BigDecimal baseSalary;

    /** 计算后的研发工资 */
    @Excel(name = "研发工资")
    private BigDecimal calculatedSalary;

    /** 计算比例 */
    @Excel(name = "计算比例")
    private BigDecimal ratio;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public Double getRdWorkhours() {
        return rdWorkhours;
    }

    public void setRdWorkhours(Double rdWorkhours) {
        this.rdWorkhours = rdWorkhours;
    }

    public Double getAttendanceWorkhours() {
        return attendanceWorkhours;
    }

    public void setAttendanceWorkhours(Double attendanceWorkhours) {
        this.attendanceWorkhours = attendanceWorkhours;
    }

    public BigDecimal getBaseSalary() {
        return baseSalary;
    }

    public void setBaseSalary(BigDecimal baseSalary) {
        this.baseSalary = baseSalary;
    }

    public BigDecimal getCalculatedSalary() {
        return calculatedSalary;
    }

    public void setCalculatedSalary(BigDecimal calculatedSalary) {
        this.calculatedSalary = calculatedSalary;
    }

    public BigDecimal getRatio() {
        return ratio;
    }

    public void setRatio(BigDecimal ratio) {
        this.ratio = ratio;
    }

    @Override
    public String toString() {
        return "RdSalaryResult{" +
                "userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", month='" + month + '\'' +
                ", rdWorkhours=" + rdWorkhours +
                ", attendanceWorkhours=" + attendanceWorkhours +
                ", baseSalary=" + baseSalary +
                ", calculatedSalary=" + calculatedSalary +
                ", ratio=" + ratio +
                '}';
    }
} 